package com.daiyang.blog.service;

import com.daiyang.blog.service.DTO.UserInfoResponse;
import com.daiyang.blog.service.DTO.UserLoginResponse;
import com.daiyang.blog.service.DTO.UserInfoParam;
import jakarta.validation.constraints.NotNull;

public interface UserService {
    UserLoginResponse login(UserInfoParam user);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse selectAuthorInfoByBlogId(@NotNull Integer blogId);
}
